/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package estg.dae.projecto.bank.controllers;

import estg.dae.projecto.bank.model.Client;
import java.util.Collection;
import javax.ejb.Local;

/**
 *
 * @author Marco
 */
@Local
public interface ClientControllerLocal {
    boolean exists(String nif);
    Client get(String nif);
    Client get(long id);
    void save(Client client, int agency);
    void update(Client client);
    void delete(Client client);
    Collection<Client> getAll();
}
